<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
		<html>
		<head>
		<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
		<title>ClutterUnits</title>
		<META HTTP-EQUIV="EXPIRES" CONTENT=0>
		<link rel="stylesheet" href="../../../../docs.css">
		</head>
		<body>
		
<br>
<h1>Io Reference</h1>
<br><br><br>
<br><br><br>
<a class='column' href='../../index.html'>UserInterface</a>
&nbsp;&nbsp;<font color=#ccc>/</font>&nbsp;&nbsp;
<a class='column' href='../index.html'>Clutter</a>
&nbsp;&nbsp;<font color=#ccc>/</font>&nbsp;&nbsp;
<b>ClutterUnits</b>
<br><br><br>
<br><br><br>
<table border=0 cellspacing=0 style="margin-left:8em; width:40em; line-height:1.2em;">
<tr>
<td align=right></td>
<td></td>
<td><p>For more detailed docs see <a href="http://clutter-project.org/docs/clutter/stable/clutter-Unit-conversion.html">Clutter documentation</a>.</p>
Example:
<pre><code>ClutterActor clone setWidth((10 px + 1 em) value)</code></pre>
</td></tr>
<tr><td colspan=3>&nbsp;</td></tr>
<tr><td colspan=3>&nbsp;</td></tr>
<tr><td colspan=3>&nbsp;</td></tr>
<tr>
<td align=right>
</td>
<td></td>
<td>
<hr align=left color=#ddd height=1>
<br><br>
<a name="ClutterUnits-+"></a><b>
+(otherUnit)
</b>
<p>
<div class=slotDescription>
<code>otherUnit</code> can be either [[ClutterUnits]] or [[Number]].
</div>
<a name="ClutterUnits--"></a><b>
-(otherUnit)
</b>
<p>
<div class=slotDescription>

</div>
<a name="ClutterUnits-=="></a><b>
==(otherUnit)
</b>
<p>
<div class=slotDescription>

</div>
<a name="ClutterUnits-asString"></a><b>
asString
</b>
<p>
<div class=slotDescription>

</div>
<a name="ClutterUnits-compare"></a><b>
compare(otherUnit)
</b>
<p>
<div class=slotDescription>
Returns 0 if units are equal, -1 if <code>self</code> is smaller, 1 if <code>self</code> is bigger than <code>otherUnit</code>.
</div>
<a name="ClutterUnits-unit"></a><b>
unit
</b>
<p>
<div class=slotDescription>
Returns an value from [[Clutter UNIT]].
</div>
<a name="ClutterUnits-value"></a><b>
value
</b>
<p>
<div class=slotDescription>

</div>
<a name="ClutterUnits-withEm"></a><b>
withEm(valueInEm)
</b>
<p>
<div class=slotDescription>

</div>
<a name="ClutterUnits-withEmForFont"></a><b>
withEmForFont(valueInEm, fontName)
</b>
<p>
<div class=slotDescription>

</div>
<a name="ClutterUnits-withMm"></a><b>
withMm(valueInMm)
</b>
<p>
<div class=slotDescription>

</div>
<a name="ClutterUnits-withPt"></a><b>
withPt(valueInPt)
</b>
<p>
<div class=slotDescription>

</div>
<a name="ClutterUnits-withPx"></a><b>
withPx(valueInPx)
</b>
<p>
<div class=slotDescription>

</div>
<a name="ClutterUnits-withString"></a><b>
withString(string)
</b>
<p>
<div class=slotDescription>

</div>
</td>
</tr>
</table>
<br><br><br><br><br>
</body>
</html>
